<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="<%=path %>/js/syAjax.js"></script>
	<script src="<%=path%>/js/resizeIframe.js" type="text/javascript"></script>
	<script src="<%=path %>/js/jquery-1.7.2.min.js"></script>
	<script src="<%=path %>/js/core.js"></script>
	
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/index.css"/>
	<title>SYwesp</title>
	<script type="text/javascript">
		function changeDiv(divId){
			var str="";
			/**办公*/
			if(divId=="bangong"){
				/**协同办公*/
				str="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />协同办公<img id='xietongbangong_img' onclick=\"showOrHiddenUL('xietongbangong');\" src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='xietongbangong' class='list1'>";
				str+="<li><a href=\"javascript:go('<%=path %>/findUserByIdUserAction.action?user.userId=${sessionScope.UserInfo.userId}','协同办公>>个人档案');\">个人档案</a></li>";
				str+="<li><a href=\"javascript:showClassByRoleIdArr();\">班级名册</a></li><div id='banjimingce_DIV' style='display: none;'></div>";
				str+="<li><a href=\"javascript:showOrHiddenDIV('youjianxiang_DIV');\">邮件箱(<span id='notReadCountSPAN'>0</span>)</a></li><div id='youjianxiang_DIV' style='display: none;'><ul class='list2'><li><img src='<%=path %>/images/letter1.gif' /><a href='javascript:toAddDocument();'>写信</a></li>";
				str+="<li><img src='<%=path %>/images/letter2.gif' /><a href=\"javascript:go('<%=path%>/findDocByReceiverIdAndStatusDocAction.action?','协同办公>>收件箱');\">收件箱</a></li>";
				str+="<li><img src='<%=path %>/images/letter3.gif' /><a href=\"javascript:go('<%=path%>/findDocBySenderIdAndStatusDocAction.action?','协同办公>>发件箱');\">发件箱</a></li>";
				str+="<li><img src='<%=path %>/images/letter4.gif' /><a href=\"javascript:go('<%=path%>/findDocGDDocAction.action?','协同办公>>归档箱');\">归档箱</a></li>";
				str+="<li><img src='<%=path %>/images/letter5.gif' /><a href=\"javascript:go('<%=path%>/findDocCGDocAction.action?','协同办公>>草稿箱');\">草稿箱</a></li>";
				str+="<li><img src='<%=path %>/images/letter6.gif' /><a href=\"javascript:go('<%=path%>/findDeleteDocByUserIdDocAction.action?','协同办公>>回收站');\">回收站</a></li></ul></div>";
				str+="<li><a href=\"javascript:go('<%=path%>/toRepairRecordListrepairAction.action?user.userId=${sessionScope.UserInfo.userId }','协同办公>>报修站');\">报修站</a></li>";
				str+="<li><a href=\"javascript:go('<%=path%>/findAllPrintRecordprinterAction.action?','协同办公>>文印站');\">文印站</a></li>";
				str+="<li><a href=\"javascript:go('<%=path%>/toVenuesWeekViewOaSpecialVenuesAction.action?','协同办公>>专用场馆');\">专用场馆</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toListscheduleLogAction.action?userId=${sessionScope.UserInfo.userId}','协同办公>>个人日志');\">个人日志</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toDeptLogListscheduleLogAction.action?logType=1','协同办公>>部门日志');\">部门日志</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toDeptLogListscheduleLogAction.action?logType=3','协同办公>>部门总结');\">部门总结</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/payrollDetailPayrollAction.action?','协同办公>>工资明细');\">工资明细</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/oa/gongJiJin.jsp?','协同办公>>查看住房公积金');\">查看住房公积金</a></li>";
				str+="<li><a href=\"javascript:go('<%=path%>/findAllBbsArticleBbsAction.action?','协同办公>>论坛');\">论坛</a></li></ul>";
				/**办公管理*/
				<c:if test="${! empty sessionScope.roleIds}">
                <c:if test="${fn:contains(sessionScope.roleIds,'gwadmin')}">
					str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />办公管理<img id='bangongguanli_img' onclick=\"showOrHiddenUL('bangongguanli');\" src='<%=path %>/images/open.png' class='list_menu_open' /></div><ul id='bangongguanli' class='list1' style='display:none;'>";
					str+="<li><a href=\"javascript:go('<%=path %>/getAllFlowNodeDocFlowAction.action?','办公管理>>流程管理');\">流程管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/getAllDocPostilDocPostilAction.action?','办公管理>>批注管理');\">批注管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toStampListDocAction.action?','办公管理>>印章管理');\">印章管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/getAllDocTemplateByStatusDocTemplateAction.action?','办公管理>>模版管理');\">模版管理</a></li>";
					str+="<li><a href=\"#\">邮件管理</a></li><ul class='list2'>";
					str+="<li><img src='<%=path %>/images/list_title.gif' width='11px' height='13px' /><a href=\"javascript:go('<%=path %>/toDocMonitorDocAction.action?','办公管理>>邮件监控');\">邮件监控</a></li>";
					str+="<li><img src='<%=path %>/images/list_title.gif' width='11px' height='13px' /><a href=\"javascript:go('<%=path %>/toDocCountDocAction.action?','办公管理>>邮件统计');\">邮件统计</a></li></ul></ul>";
				</c:if>
				</c:if>
			}
			/**教务*/
			if(divId=="jiaowu"){
			
				<c:if test="${! empty sessionScope.roleIds}">
            	<c:if test="${fn:contains(sessionScope.roleIds,'sysadmin')}">
				/**教务管理*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />教务管理<img id='jiaowuguanli_img' onclick=\"showOrHiddenUL('jiaowuguanli');\"  src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='jiaowuguanli' class='list1'>";
				str+="<li><a href=\"javascript:go('<%=path%>/findTeaAndDeporganizationAction.action?years=${applicationScope.currentYear}&orgType=2&forwardPage=teaToDepartment','教务管理>>教师分组');\">教师分组</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toStuToClassGradeAndClassAction.action?year=${applicationScope.currentYear}','教务管理>>学生分班');\">学生分班</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/getAllCourseByGradeIdGradeAndClassAction.action?year=${applicationScope.currentYear}','教务管理>>岗位安排');\">岗位安排</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findClassByTeacherGradeAndClassAction.action?year=${applicationScope.currentYear}','教务管理>>岗位安排查询');\">岗位安排查询</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/searchTimeTableByClassIdSchoolTimeTableAction.action?','教务管理>>课表管理');\">课表管理</a></li></ul>";
				</c:if>
				</c:if>
				
				
				<c:if test="${! empty sessionScope.roleIds}">
                <c:if test="${fn:contains(sessionScope.roleIds,'xjadmin')}">
				/**学籍管理*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />学籍管理<img id='xuejiguanli_img' onclick=\"showOrHiddenUL('xuejiguanli');\"  src='<%=path %>/images/open.png' class='list_menu_open' /></div><ul id='xuejiguanli' class='list1' style='display:none;'>";
				str+="<li><a href=\"javascript:ShowGrade('xueji_DIV','xueji_LI');\">学籍维护</a></li><div id='xueji_DIV' style='display: none;'></div>";
				str+="<li><a href=\"#\">学籍报表</a></li><ul class='list2'>";
				str+="<li><a href=\"javascript:go('<%=path %>/student/studentReport/report.jsp?','学籍管理>>基教处常用报表');\">基教处常用报表</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toStuRosterUserAction.action?user.userType=1&user.status=1','学籍管理>>学生花名册');\">学生花名册</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/searchStudentDropOutSchoolRollStatisticsAction.action?','学籍管理>>学生辍学名册');\">学生辍学名册</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findBorrowStudentRollStatisticsAction.action?','学籍管理>>借读生名册');\">借读生名册</a></li></ul>";
				str+="<li><a href=\"javascript:go('<%=path %>/student/studentReport/reportSearch.jsp?','学籍管理>>自定义报表查询');\">自定义报表查询</a></li></ul>";
				</c:if>
				</c:if>
				
				
				/**成绩管理*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />成绩管理<img id='chengjiguanli_img' onclick=\"showOrHiddenUL('chengjiguanli');\"  src='<%=path %>/images/open.png' class='list_menu_open' /></div><ul id='chengjiguanli' class='list1' style='display:none;'>";
				str+="<li><a href=\"javascript:go('<%=path%>/findmarkIntervalTypemarkBasicConfigsAction.action?','成绩管理>>基本配置');\">基本配置</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findmarkExamInfoByYearAndSchoolTermAndGradeIdAndTypemarkArrangeExamAction.action?markExamInfo.year=${applicationScope.currentYear }&markExamInfo.schoolTerm=${applicationScope.currentSchoolTerm}&flg=arrangeExam','成绩管理>>安排考试');\">安排考试</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findmarkExamInfoByYearAndSchoolTermAndGradeIdAndTypemarkArrangeExamAction.action?markExamInfo.year=${applicationScope.currentYear }&markExamInfo.schoolTerm=${applicationScope.currentSchoolTerm}','成绩管理>>安排考场');\">安排考场</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findmarkExamInfoByYearAndSchoolTermAndGradeIdAndTypemarkArrangeExamAction.action?markExamInfo.year=${applicationScope.currentYear }&markExamInfo.schoolTerm=${applicationScope.currentSchoolTerm}&flg=innermark','成绩管理>>录入考分');\">录入考分</a></li>";
				str+="<li><a href=\"#\">成绩统计</a></li><ul class='list2'>";
				str+="<li><img src='<%=path %>/images/list_title.gif' width='11px' height='13px' /><a href=\"javascript:go('<%=path %>/toExamInfoListForSingleStatisticsmarkArrangeExamAction.action?markExamInfo.year=${applicationScope.currentYear }&markExamInfo.schoolTerm=${applicationScope.currentSchoolTerm}','成绩管理>>单次考试');\">单次考试</a></li>";
				str+="<li><img src='<%=path %>/images/list_title.gif' width='11px' height='13px' /><a href=\"javascript:go('<%=path %>/mark/statistics/usuallySelectionSutdent.jsp?a=1','成绩管理>>多次考试');\">多次考试</a></li></ul></ul>";
				
				
				<c:if test="${! empty sessionScope.roleIds}">
                <c:if test="${fn:contains(sessionScope.roleIds,'rsadmin')}">
				/**人事管理*/
					str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />人事管理<img id='renshiguanli_img' onclick=\"showOrHiddenUL('renshiguanli');\" src='<%=path %>/images/open.png' class='list_menu_open' /></div><ul id='renshiguanli' class='list1' style='display:none;'>";
					str+="<li><a href=\"javascript:showOrganization();\">录入人事档案</a></li><div id='allOrg_DIV' style='display: none;'></div>";
					str+="<li><a href=\"javascript:go('<%=path %>/UsernelReportUserAction.action?','人事管理>>人事报表汇总');\">人事报表汇总</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/teacher/teacherReport/reportSearch.jsp?','人事管理>>人事查询');\">人事查询</a></li>";
						
					str+="</ul>";
				</c:if>
				</c:if>
				/**教师专业发展*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />教师专业发展<img id='zhuanyefazhan_img' onclick=\"showOrHiddenUL('zhuanyefazhan');\" src='<%=path %>/images/open.png' class='list_menu_open' /></div><ul id='zhuanyefazhan' class='list1' style='display:none;'>";
				str+="<li><a href=\"javascript:go('<%=path %>/findBasicInfoByUserIdShowtfProfessionalDevelopmentPlanAction.action?userId=${sessionScope.UserInfo.userId }','教师专业发展>>个人档案');\">个人档案</a></li>";
				str+="<li><a href=\"#\">管理之窗</a></li><ul class='list2'>";
				<c:if test="${fn:contains(sessionScope.roleIds,'bzr') || fn:contains(sessionScope.roleIds,'dadadmin')}">
				str+="<li><a href=\"javascript:go('<%=path%>/toWisdomTFWisdomAction.action?userId=${sessionScope.UserInfo.userId}&year=${applicationScope.currentYear}&schoolTerm=${applicationScope.currentSchoolTerm}','教师专业发展>>班主任智慧集锦');\">班主任智慧集锦</a></li>";
				</c:if>
				str+="<li><a href=\"javascript:go('<%=path%>/toManagementTFWisdomAction.action?userId=${sessionScope.UserInfo.userId}&year=${applicationScope.currentYear}&schoolTerm=${applicationScope.currentSchoolTerm}&type=1','教师专业发展>>其他管理');\">其他管理</a></li></ul>";
				str+="<li><a href=\"#\">教海泛舟</a></li>";
				str+="<ul class='list2'><li><a href=\"javascript:go('<%=path %>/findTrQualityListtrQualityAction.action?','教师专业发展>>教学质量');\">教学质量</a></li><li><a href=\"javascript:go('<%=path %>/viewStudyHabitsTFClassroomAction.action?','教师专业发展>>课堂教学');\">课堂教学</a></li></ul>";
				
				str+="<li><a href=\"#\">学海拾贝</a></li>";
				str+="<ul class='list2'><li><a href=\"javascript:go('<%=path %>/findUseralEducationByUserIdAndYearAndSchoolTermAndLevelTrainingRecordAction.action?year=${applicationScope.currentYear}&schoolTerm=${applicationScope.currentSchoolTerm}','教师专业发展>>培训记录');\">培训记录</a></li><li><a href=\"javascript:go('<%=path %>/findTFLearningExperienceByYearAndSchoolTermAndUserIdAndTypeTFLearningExperienceAction.action?year=${applicationScope.currentYear}&schoolTerm=${applicationScope.currentSchoolTerm}&userId=${sessionScope.UserInfo.userId }&type=1','教师专业发展>>学习心得');\">学习心得</a></li><li><a href=\"javascript:go('<%=path %>/findTFExpertLecturesRecordedByYearAndSchoolTermAndUserIdTFExpertLecturesRecordedAction.action?year=${applicationScope.currentYear}&schoolTerm=${applicationScope.currentSchoolTerm}&userId=${sessionScope.UserInfo.userId }','教师专业发展>>专家指导');\">专家指导</a></li></ul>";
				
				str+="<li><a href=\"#\">教学札记</a></li>";
				str+="<ul class='list2'><li><a href=\"javascript:go('<%=path%>/caseListPortfolioTrNoteAction.action?teacherCaseStudy.type=1','教师专业发展>>案例研究');\">案例研究</a></li><li><a href=\"javascript:go('<%=path %>/toPublicClassListPortfolioTrNoteAction.action?','教师专业发展>>教研实录');\">教研实录</a></li><li><a href=\"javascript:go('<%=path %>/findTFResearchActivitiesByPAndYAndSAndTTFResearchActivitiesAction.action?year=${applicationScope.currentYear}&schoolTerm=${applicationScope.currentSchoolTerm}&userId=${sessionScope.UserInfo.userId }&type=1','教师专业发展>>课题研究');\">课题研究</a></li><li><a href=\"javascript:go('<%=path %>/findTFTrPapersByUserIdAndYearAndSchoolTermAndTypeTFTrPapersAction.action?year=${applicationScope.currentYear}&schoolTerm=${applicationScope.currentSchoolTerm}&userId=${sessionScope.UserInfo.userId }&papersType=1','教师专业发展>>论文论著');\">论文论著</a></li></ul>";
				
				str+="<li><a href=\"javascript:go('<%=path %>/showTeacherGrowupPlanYoungTeacherAction.action?user.userId=${sessionScope.UserInfo.userId}','教师专业发展>>青蓝共进');\">青蓝共进</a></li>";
				str+="<li><a href=\"#\">资料宝库</a></li>";
				str+="<ul class='list2'><li><a href=\"javascript:go('<%=path%>/findMyResourceTrResourceAction.action?','教师专业发展>>我上传的资源');\">我上传的资源</a></li><li><a href=\"javascript:go('<%=path%>/mySubscribeTrDirectoryAction.action?','教师专业发展>>我订阅的资源');\">我订阅的资源</a></li></ul>";
				str+="<li><a href=\"javascript:go('<%=path %>/getCounselingByUserIdAndSchoolTermAndYearAndTypeYoungTeacherAction.action?type=3','教师专业发展>>荣誉殿堂');\">荣誉殿堂</a></li>";
				str+="<li><a href=\"<%=path %>/toSearchByUserIdtfProfessionalDevelopmentPlanAction.action\" target='_blank'>档案袋查询</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toBasicListtfProfessionalDevelopmentPlanAction.action?user.userType=2&user.status=1','教师专业发展>>汇总统计');\">汇总统计</a></li>";
				str+="</ul>";
				
				
				
			}
			
			/**教学*/
			if(divId=="jiaoxue"){
			/**资源建设*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />资源建设<img id='ziyuanjianshe_img' onclick=\"showOrHiddenUL('ziyuanjianshe');\"  src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='ziyuanjianshe' class='list1'>";
				<c:if test="${! empty sessionScope.roleIds}">
                <c:if test="${fn:contains(sessionScope.roleIds,'zyadmin')}">
					str+="<li><a href=\"javascript:go('<%=path%>/loadDirectoryTrDirectoryAction.action?','资源建设>>教材目录管理');\">教材目录管理</a></li>";
				</c:if>
				</c:if>
				<c:if test="${fn:contains(sessionScope.roleIds,'zyadmin') || fn:contains(sessionScope.roleIds,'jyzz')}">
                <c:if test="${sessionScope.resAudit!='close' }" >
					str+="<li><a href=\"javascript:go('<%=path %>/verifyResourceListTrResourceAction.action?','资源建设>>审核资源');\">审核资源</a></li>";
				</c:if>
				</c:if>
				str+="<li><a href=\"javascript:go('<%=path %>/toAddTrResourceTrResourceAction.action?','资源建设>>上传资源');\">上传资源</a></li>";
				str+="<li><a href=\"javascript:go('<%=path%>/findAllNewTrResourceAction.action?','资源建设>>下载资源');\">下载资源</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findAllNumTrResourceAction.action?','资源建设>>统计资源');\">统计资源</a></li>";
				str+="<li><a href=\"#\">收藏夹</a></li><ul class='list2'>";
				str+="<li><a href=\"javascript:go('<%=path%>/findMyResourceTrResourceAction.action?','资源建设>>我上传的资源');\">我上传的资源</a></li>";
				str+="<li><a href=\"javascript:go('<%=path%>/mySubscribeTrDirectoryAction.action?','资源建设>>我订阅的资源');\">我订阅的资源</a></li></ul></ul>";
				
			}
			
			/**教研*/
			if(divId=="jiaoyan"){
				str+="";
			}
			/**德育*/
			if(divId=="deyu"){
				/**德育管理*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />德育管理<img id='deyuguanli_img' onclick=\"showOrHiddenUL('deyuguanli');\"  src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='deyuguanli' class='list1'><li><a href=\"javascript:go('<%=path %>/toAMSpecificationamPermissionsAction.action?amSpecification.type=1','德育管理>>师德规范');\">师德规范</a></li><li><a href=\"javascript:showOrHiddenDIV('banjixinggui');\">班级行规</a></li><ul id='banjixinggui' class='list2'>";
				<c:if test="${! empty sessionScope.roleIds}">
                <c:if test="${fn:contains(sessionScope.roleIds,'amadmin')}">
					str+="<li><a href=\"javascript:go('<%=path %>/findProjectListByParentIdAssessProjectAction.action?type=1','德育管理>>行规项目管理');\">行规项目管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toSearchAMPermissionsamPermissionsAction.action?type=1','德育管理>>操作权限管理');\">操作权限管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toAMAwardsAMAwardsAction.action?','德育管理>>班级评比规则设定');\">班级评比规则设定</a></li>";
				</c:if>
				</c:if>
				
				
				str+="<li><a href=\"javascript:go('<%=path %>/toProjectInputamDayWeekMonthAction.action?userId=${sessionScope.UserInfo.userId}&type=1','德育管理>>行规单录入');\">行规单录入</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toClassDayProjectSearchamDayWeekMonthAction.action?userId=${sessionScope.UserInfo.userId}&type=1','德育管理>>全校日报表');\">全校日报表</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toProjectSearchAMAwardsAction.action?userId=${sessionScope.UserInfo.userId}&type=1','德育管理>>全校周报表');\">全校周报表</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toProjectSearchMonthReportAMAwardsAction.action?userId=${sessionScope.UserInfo.userId}&type=1','德育管理>>全校月报表');\">全校月报表</a></li></ul>";
				str+="<li><a href=\"javascript:showOrHiddenDIV('banzhurengongzuokaoke');\">班主任工作考核</a></li><ul id='banzhurengongzuokaoke' class='list2'>";
				
				
				<c:if test="${! empty sessionScope.roleIds}">
                <c:if test="${fn:contains(sessionScope.roleIds,'amadmin')}">
					str+="<li><a href=\"javascript:go('<%=path %>/findProjectListByParentIdAssessProjectAction.action?type=2','德育管理>>考核项目管理');\">考核项目管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toSearchAMPermissionsamPermissionsAction.action?type=2','德育管理>>考核权限管理');\">考核权限管理</a></li>";
				</c:if>
				</c:if>
				str+="<li><a href=\"javascript:go('<%=path %>/toProjectInputamDayWeekMonthAction.action?userId=${sessionScope.UserInfo.userId}&type=2','德育管理>>考核单录入');\">考核单录入</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toClassDayProjectSearchamDayWeekMonthAction.action?type=2&userId=${sessionScope.UserInfo.userId}','德育管理>>考核日报表');\">考核日报表</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toProjectSearchAMAwardsAction.action?userId=${sessionScope.UserInfo.userId}&type=2','德育管理>>考核周报表');\">考核周报表</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toProjectSearchMonthReportAMAwardsAction.action?userId=${sessionScope.UserInfo.userId}&type=2','德育管理>>考核月报表');\">考核月报表</a></li></ul>";
				<c:if test="${not empty sessionScope.CLASSMAP}">
                <c:forEach var="clsMap" items="${sessionScope.CLASSMAP}">
                       str+="<li><a href=\"javascript:showOrHiddenDIV('deyubanji_${clsMap.key}');\">${clsMap.value }</a></li><ul id='deyubanji_${clsMap.key}' class='list2' style='display:none;'>";
                       str+="<li><a href=\"javascript:go('<%=path %>/toAMSpecificationamPermissionsAction.action?amSpecification.type=2&amSpecification.classId=${clsMap.key }','德育管理>>${clsMap.value}>>班级概况');\">班级概况</a></li>";
                       str+="<li><a href=\"javascript:go('<%=path %>/toStudentProjectInputamDayWeekMonthAction.action?userId=${sessionScope.UserInfo.userId}&type=1&classId=${clsMap.key }','德育管理>>${clsMap.value}>>行规日表录入');\">行规日表录入</a></li>";
                       str+="<li><a href=\"javascript:go('<%=path %>/toStudentDayProjectSearchamDayWeekMonthAction.action?type=1&classId=${clsMap.key }','德育管理>>${clsMap.value}>>日报表');\">日报表</a></li>";
                       str+="<li><a href=\"javascript:go('<%=path %>/toStudentWeekProjectSearchAMAwardsAction.action?userId=${sessionScope.UserInfo.userId}&classId=${clsMap.key }&type=1','德育管理>>${clsMap.value}>>周报表');\">周报表</a></li>";
                       str+="<li><a href=\"javascript:go('<%=path %>/toProjectSearchMonthReportAMAwardsAction.action?userId=${sessionScope.UserInfo.userId}&type=3&classId=${clsMap.key }','德育管理>>${clsMap.value}>>月报表');\">月报表</a></li></ul>";
                </c:forEach>
                </c:if>
                str+="</ul>";
				
			}
			/**总务*/
			if(divId=="zongwu"){
				<c:if test="${! empty sessionScope.roleIds}">
			    <c:if test="${fn:contains(sessionScope.roleIds,'xcadmin')}">
				/**校产管理*/
					str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />校产管理<img id='xiaochanguanli_img' onclick=\"showOrHiddenUL('xiaochanguanli');\"  src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='xiaochanguanli' class='list1'>";
					str+="<li><a href=\"javascript:go('<%=path %>/findUnitEquipmentRelationEquipmentAction.action?','校产管理>>办学条件管理');\">办学条件管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/findSchoolAllowBudgetSchoolAllowBudgetAction.action?','校产管理>>物品申报入库管理');\">物品申报入库管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/SchoolProperty/schoolPropertyTypeList.jsp?','校产管理>>设备管理');\">设备管理</a></li>";
					str+="<li><a href=\"\">校产报表汇总</a></li><ul class='list2'>";
					str+="<li><a href=\"javascript:go('<%=path %>/toEquipmentStandardsEquipmentAction.action?','校产管理>>达标状态报表');\">达标状态报表</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toSchoolConditionEquipmentAction.action?','校产管理>>办学条件统计报表');\">办学条件统计报表</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/findGoodsStaticSchoolGoodsAction.action?','校产管理>>物品报表');\">物品报表</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/findNumByUserIdSchoolGoodsAction.action?','校产管理>>物品领用报表');\">物品领用报表</a></li></ul></ul>";
				</c:if>
				</c:if>
				
				
				<c:if test="${! empty sessionScope.roleIds}">
				<c:if test="${fn:contains(sessionScope.roleIds,'wageadmin')}">
				/**薪资管理*/
					str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />薪资管理<img id='xinziguanli_img' onclick=\"showOrHiddenUL('xinziguanli');\"  src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='xinziguanli' class='list1'>";
					str+="<li><a href=\"javascript:go('<%=path %>/toPayrollRecordsManagerPayrollAction.action?','薪资管理>>薪资项目管理');\">薪资项目管理</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toImportPayrollRecordsPayrollAction.action?','薪资管理>>薪资导入');\">薪资导入</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/payroll/headMerge.jsp?','薪资管理>>设置合并列');\">设置合并列</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/payrollSearchPayrollAction.action?','薪资管理>>查看薪资明细');\">查看薪资明细</a></li></ul>";
				</c:if>
				</c:if>
			}
			
			/**家校*/
			if(divId=="jiaxiao"){
				/**短信管理*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />短信管理<img id='duanxinguanli_img' onclick=\"showOrHiddenUL('duanxinguanli');\"  src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='duanxinguanli' class='list1'>";
				<c:if test="${applicationScope.shortInfo eq 'open'}">
					str+="<li><a href=\"javascript:go('<%=path%>/shortInfo/sendSMS.jsp?','短信管理>>发送短信');\">发送短信</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toFindByStatusShortInfoAction.action?status=1','短信管理>>查看待发记录');\">查看待发记录</a></li>";
					str+="<li><a href=\"javascript:go('<%=path %>/toFindByStatusShortInfoAction.action?status=2','短信管理>>查看已发记录');\">查看已发记录</a></li>";
					<c:if test="${! empty sessionScope.roleIds}">
					<c:if test="${fn:contains(sessionScope.roleIds,'shortinfoadmin')}">
						str+="<li><a href=\"\">短信中心管理</a></li><ul class='list2'>";
						str+="<li><a href=\"javascript:go('<%=path %>/toTeaNumberSetShortInfoAction.action?user.userType=2&user.status=1','短信管理>>设置订制号码');\">设置订制号码</a></li>";
						str+="<li><a href=\"javascript:go('<%=path %>/toTeaCustomMadeShortInfoAction.action?','短信管理>>用户订制与退订');\">用户订制与退订</a></li>";
						str+="<li><a href=\"javascript:go('<%=path %>/toShortListShortInfoAction.action?status=2&userType=2','短信管理>>短信统计');\">短信统计</a></li></ul>";
					</c:if>
					</c:if>
				</c:if>
				<c:if test="${applicationScope.shortInfo ne 'open'}">
					str+="<li>短信未开启</li>";
				</c:if>
				str+="</ul>";
			}
			/**设置*/
			if(divId=="shezhi"){
				/**系统设置*/
				str+="<div class='list_menu'><img src='<%=path %>/images/list1.png' class='list_menu_img' />系统设置<img id='xitongshezhi_img' onclick=\"showOrHiddenUL('xitongshezhi');\"  src='<%=path %>/images/close.png' class='list_menu_open' /></div><ul id='xitongshezhi' class='list1'>";
				str+="<li><a href=\"javascript:go('<%=path %>/findUnitUnitAction.action?','系统设置>>基本信息设置');\">基本信息设置</a></li>";
				str+="<li><a href=\"javascript:go('<%=path%>/toAMWeekamPermissionsAction.action?','系统设置>>值周设置');\">值周设置</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/videoSetClassGradeAndClassAction.action?','系统设置>>监控设置');\">监控设置</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/getGradeListGradeAndClassAction.action?','系统设置>>基本设置');\">基本设置</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findAllEnclosureServerEnclosureServerAction.action?','系统设置>>附件服务器管理');\">附件服务器管理</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findAllOaCustomNavigationOaCustomNavigationAction.action?','系统设置>>自定义菜单');\">自定义菜单</a></li>";
				str+="<li><a href=\"javascript:go('findAllOrganizationByTypeorganizationAction.action?organization.orgType=2','系统设置>>部门管理');\">部门管理</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findAllUserByTypeAndStatusUserAction.action?user.userType=2&user.status=1','系统设置>>用户管理');\">用户管理</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toRoleUserSetroleAction.action?','系统设置>>权限管理');\">权限管理</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/findLoginLogByUserNameUserAction.action?','系统设置>>日志查询');\">日志查询</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/toTermsOfServiceTermsOfServiceAction.action?','系统设置>>服务条款');\">服务条款</a></li>";
				str+="<li><a href=\"javascript:go('<%=path %>/sywespLicenseInfoRegisterAction.action?','系统设置>>正版验证');\">正版验证</a></li>";
				str+="</ul>";
				
				
			}
			document.getElementById("menuContentDiv").innerHTML=str;
			if(divId=="bangong"){
				getNotReadDocumentCount();
			}
			
		}
		
		function showOrHiddenUL(ulId){
			if(document.getElementById(ulId+'_img').src.indexOf("close")!=-1){
				document.getElementById(ulId+'_img').src="<%=path%>/images/open.png";
			}else{
				document.getElementById(ulId+'_img').src="<%=path%>/images/close.png";
			}
			showOrHiddenDIV(ulId);
		}
		
		function showOrHiddenDIV(id){
			$("#"+id).slideToggle();
		}
		
		/**iframe自动撑大的方法*/
		 function resizeIframe(){
      		iframeResize('baseSet',baseSet);
      	}
      	
      	function setIframeHeight(paramHeight){
      		document.getElementById('baseSet').height=paramHeight;
      	}
      	/**改变本页面iframe地址的方法*/
      	function go(src,name){
      		changeDaohang(src,name);
			document.getElementById('baseSet').style.height="";
			document.getElementById('baseSet').src=src+"&t="+new Date();
			
		}
		
		
	/**班级名册*/
	function showClassByRoleIdArr(){
		syAjax.request("post","<%=path %>/getClassListByroleIdArrGradeAndClassAction.action","",{success:function (response){
				var data = JSON.parse(response);
				var showStr="<ul class='list2'>";
				if(data!=null){				
					if(data.length>0){
						for(var i=0;i<data.length;i++){
							showStr+="<li><a href=\"javascript:go('<%=path%>/selectStuRosterByClassIdAndYearAndRoleorganizationAction.action?isHiddenSelect=yes&grade.gradeId=&user.userType=1&cla.classId="+data[i].classId+"&years=${applicationScope.currentYear}&role.roleId=member&ispageURL=true','"+data[i].name+"');\">"+data[i].name+"</a></li>";	
						}
					}else{
						showStr+="<li>暂无任教班级</li>";
					}
				}
				showStr+="</ul>";
				document.getElementById("banjimingce_DIV").innerHTML=showStr;
				if(document.getElementById("banjimingce_DIV").style.display=='none'){
					document.getElementById("banjimingce_DIV").style.display='';
					
				}else{
					document.getElementById("banjimingce_DIV").style.display='none';
					
				}
				
			},fail:onFail,type:'plain'});
	}
				/**录入人事档案**/
		function showOrganization()
		{
		  syAjax.request("post","<%=path %>/getAllOrganizationorganizationAction.action","",{success:function (response){
		  		 var data = JSON.parse(response);
				  var showStr="<ul class='list2'>"; 
					if(data!=null){				
						if(data.length>0){
							for(var i=0;i<data.length;i++){
								showStr+="<li><a href=\"javascript:go('<%=path %>/findTeaBydepartmentUserAction.action?organization.organizationId="+data[i].organizationId+"','人事管理>>"+data[i].name+"');\" >"+data[i].name+"</a></li>";
							}
						}
					}
					showStr+="<li><a href=\"javascript:go('<%=path %>/findTeaBydepartmentUserAction.action?organization.organizationId=','人事管理>>未分部门');\" >未分部门</a></li>";
					showStr+="</ul>";
					document.getElementById('allOrg_DIV').innerHTML=showStr;
					showOrHiddenDIV('allOrg_DIV');
					
		  	
		  },fail:onFail,type:'plain'});
		}
		
		
		function ShowGrade(divId,liId){
			syAjax.request("post","<%=path %>/getAllGradeAjaxGradeAndClassAction.action","year=${applicationScope.currentYear}",{success:function (response){
				var data = JSON.parse(response);
				var showStr="<ul class='list2'>";
				if(data!=null){				
					if(data.length>0){
						for(var i=0;i<data.length;i++){
							showStr+="<li><a href=\"javascript:showClassByGradeId('"+data[i].gradeId+"','"+divId+"','"+liId+"');\" >"+data[i].name+"</a></li><div id='"+divId+data[i].gradeId+"' style='display:none;'></div>";
						}
					}
				}
				showStr+="</ul>";
				document.getElementById(divId).innerHTML=showStr;
				showOrHiddenDIV(divId);
			
			},fail:onFail,type:'plain'});
		
		}
		
				/**根据年级id，查询班级*/
		function showClassByGradeId(gradeId,divId,liId){
			syAjax.request("post","<%=path %>/getAllClassByGradeIdAjaxGradeAndClassAction.action","year=${applicationScope.currentYear}&grade.gradeId="+gradeId,{success:function (response){
				var data = JSON.parse(response);
				var showStr="<ul class='list2'>";
				if(data!=null){				
					if(data.length>0){
						for(var i=0;i<data.length;i++){
							 if(divId=='xueji_DIV'){
								showStr+="<li><a href=\"javascript:go('<%=path%>/findStudentByClassIdUserAction.action?cla.classId="+data[i].classId+"','学籍维护>>"+data[i].name+"');\">"+data[i].name+"</a></li>";								
							}
							
						}
					}
				}
				showStr+="</ul>";
				document.getElementById(divId+gradeId).innerHTML=showStr;
				showOrHiddenDIV(divId+gradeId);
			},fail:onFail,type:'plain'});
		}
		
			//到创建邮件页面
	function toAddDocument(){
		window.open("<%=path%>/toAddDocDocAction.action?t="+new Date());
	}
		/**获取未读邮件数量*/
	function getNotReadDocumentCount(){
		syAjax.request("post","<%=path %>/getNotReadDocCountDocAction.action","",{success:function (response){
		if(null!=document.getElementById('notReadCountSPAN')){
	  		document.getElementById('notReadCountSPAN').innerHTML=response;
	  	}
	  },fail:onFail,type:'plain'});
	}
	
	/**改变导航条*/
	function changeDaohang(link,name){
		document.getElementById("daohangSpan").innerHTML="<a href=\"javascript:go('"+link+"','"+name+"');\" style='color: #0d80d7;text-decoration: none;'>"+name+"</a>";
	}
	
		
		
	</script>
  </head>

<body>
<div id='box'>
	<div id='head'>
    	<div class='logo'></div>
        <div class='quick_menu'>
        	<div class='quick_menu_items' id='esc'><a href="<%=path %>/exitSystemUserAction.action"><img src='<%=path %>/images/head_btn3.png' id='esc' /><p>退出</p></a></div>
            <div class='quick_menu_items' id='help'><a href="#"><img src='<%=path %>/images/head_btn2.png'  id='help'/><p>帮助</p></a></div>
            <div class='quick_menu_items' id='index'><a href="javascript:go('<%=path %>/toMainscheduleLogAction.action?','首页>>');"><img src='<%=path %>/images/head_btn1.png' id='index' /><p>首页</p></a></div>
        </div>
    </div>
   	<div id='side'>
    	<div class='side_title'><p>菜单</p></div>
        <div class='side_menu_items' onmouseover="changeDiv('bangong');" ><img src='<%=path %>/images/s1.png' /><p>办公</p></div>
        <div class='side_menu_items' onmouseover="changeDiv('jiaowu');" ><img src='<%=path %>/images/s2.png' /><p>教务</p></div>
        <div class='side_menu_items' onmouseover="changeDiv('jiaoxue');"><img src='<%=path %>/images/s3.png' /><p>教学</p></div>
        <div class='side_menu_items' onmouseover="changeDiv('jiaoyan');" style="display: none;"><img src='<%=path %>/images/s4.png' /><p>教研</p></div>
        <div class='side_menu_items' onmouseover="changeDiv('deyu');"><img src='<%=path %>/images/s5.png' /><p>德育</p></div>
        <div class='side_menu_items' onmouseover="changeDiv('zongwu');"><img src='<%=path %>/images/s6.png' /><p>总务</p></div>
        <div class='side_menu_items' onmouseover="changeDiv('jiaxiao');"><img src='<%=path %>/images/s7.png' /><p>家校</p></div>
		<c:if test="${! empty sessionScope.roleIds}">
        <c:if test="${fn:contains(sessionScope.roleIds,'sysadmin')}">
        <div class='side_menu_items' onmouseover="changeDiv('shezhi');"><img src='<%=path %>/images/s8.png' /><p>设置</p></div>
    	</c:if>
    	</c:if>
        
       
        <div  class='side_menu_open'>
        	<div  class='open_title'><img src='<%=path %>/images/topmost1.png' /></div>
        	<div id='menuContentDiv'>
           
            </div>
        </div>
        
        
      
        
        
        
    </div>
    <div id='main'>
    <div class="location">你的当前位置：<span id="daohangSpan"><a href="javascript:go('<%=path %>/toMainscheduleLogAction.action?','首页>>');" style='color: #0d80d7;text-decoration: none;' >首页>></a></span></div>
    <iframe scrolling="no" id="baseSet" name="baseSet" src="<%=path %>/toMainscheduleLogAction.action"></iframe>
    </div>
    <div id='foot'>c 2012 Shiyue Inc, All Rights Reserved</div>
</div>
</body>
</html>